package com.jarvis.pzz.modules.shop.adapter;

import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.jarvis.pzz.R;
import com.jarvis.pzz.models.AreaListModel;
import com.jarvis.pzz.models.VCModel;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by jarvis.liu on 9/12/2016.
 */
public class AreaAdapter extends BaseQuickAdapter<AreaListModel> {

    private AreaAdapter customerAdapter;

    public AreaAdapter(int layoutResId, List<AreaListModel> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, AreaListModel reaListModel) {
        baseViewHolder
                .setText(R.id.tv_name, reaListModel.getName());
    }
}
